package com.lonely.order.support.synchronizer;

import com.lonely.order.domain.dto.api.GetBigGoodsBomResDTO;
import com.lonely.order.domain.dto.api.QueryProduceOrderInfoByIdResDTO;
import com.lonely.order.domain.entity.SysOrder;
import com.lonely.order.domain.entity.SysSheinOpenApiSecret;
import lombok.Data;

import java.io.Serializable;

/**
 * 同步订单上下文
 *
 * @author fzzf
 */
@Data
public class SynchronizerOrderContext implements Serializable {

    /**
     * 获取订单详情接口响应数据
     */
    private QueryProduceOrderInfoByIdResDTO orderInfoById;

    /**
     * 物料BOM数据
     */
    private GetBigGoodsBomResDTO bigGoodsBom;

    /**
     * shein接口密钥
     */
    private SysSheinOpenApiSecret openApiSecret;

    /**
     * 是否是套装
     */
    private boolean isSuit;

    /**
     * 新添加的订单信息
     */
    private SysOrder newOrder;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 订单号
     */
    private Long produceOrderId;

}
